home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
boot
/
ffppatch.readme
< prev
next >
Wrap
Text File
|
1997-11-02
|
3KB
|
98 lines
Short: Mathffp.library FPU speedup patch 1.7b
Author: Jess Sosnoski (at the below address!!!)
Uploader: starblaz@postoffice.ptd.net
Version: 1.7beta
Type: util/boot
Requires: kick 2.04+, an 020+, and a 68881/2 FPU.
Long:
FFPpatch 1.7beta © 1997 Jess Sosnoski
DESCRIPTION:
-----------
This is a program that patches some functions of the mathffp.library
to use 68881/2 instructions, thus squeezing out a bit more speed.
(I hope!)
This is also the first speedup patch I ever attempted to write! :)
Works on an '040 or '060 too!
(does not use any FPU trig functions)
HISTORY:
-------
1.0 First Release
1.1 Now closes mathffp.library when mathtrans.lib v40 can't be opened
Optimized spmul, spdiv, spabs, spneg, spflt, spfloor and squeezed
a couple more clock cycles out.
(spadd and spsub optimized too, but disabled cuz they were
slower for some reason :( )
Removed SPFix patch...it was slower :(
1.2 Due to my rewriting of ffptest (included), I was able to more
accurately test speed of calls to mathffp.library.
I found out everything went faster in the first place :)
Re-enabled everything.
1.3 Contacted Martin Berndt, author of fmath40x.lha, and asked
about the Fieee and Tieee functions....so, he emailed me the
source...and I removed the mathtrans.library requirement and
put the functions directly into the patch program, making it
faster :)
1.4 Longword aligned all patches.
Changed spabs, spneg and spflt functions to not use fpu...
they didn't have to do all that work, and were probably horribly
slower before.
(worst case..they're probably the same speed as the stock library now
..but, one of them can likely be inlined directly into the
jumptable in some future version to save a clock cycle or two)
Changed the SPFieee function to a faster one.
Changed the SPFix function to something more like the original.
1.5 Inlined the SPFieee function whereever possible shaving off more
clock cycles.
Included Dave Jones' optimized SPTst and SPCmp functions!
1.6 Added checks for 040+ processors...disables SPFloor and SPCeil
patches, which use instructions not available on 040+'s,
Optimized SpCeil, Fieee, SPCmp/Tst, SPFix.
Fixed some patching bugs.
Sourcecode cleaned up a lot.
1.7 bad results. (That'll teach me to preserve the CCR!)
1.8 Inlined SPTieee function, shaving off a couple more clock cycles.
AUTHOR:
------
Jess Sosnoski
651 Hillside Drive
Mount Carmel, PA 17851-2463
USA
starblaz@postoffice.ptd.net
Updates will appear on my webpage before they appear in Aminet's RECENT file.
http://home.ptd.net/~starblaz
IRC nick: starblazr/starblazre
On: galaxynet (#amichat), beyondirc (#styx, #amirc), dalnet (#nin ,#am-irc)
Emails, gifts, money, food, cigarettes, Amiga4060T's will all be
gladly accepted.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1448 520 64.0% 12-Sep-97 00:06:24 ffppatch
7184 3541 50.7% 12-Sep-97 00:05:56 ffppatch.doc
2787 1466 47.3% 12-Sep-97 00:05:56 ffppatch.readme
7056 3673 47.9% 12-Sep-97 00:06:26 ffptest
-------- ------- ----- --------- --------
18475 9200 50.2% 13-Sep-97 04:03:58 4 files